﻿using System;

namespace Grundy.Entity
{
    public class LicenseNotBegunOrExpiredException : Exception
    {
        private readonly LicenseEntitlementValidity _licenseEntitlementValidity;

        public LicenseNotBegunOrExpiredException(LicenseEntitlementValidity licenseEntitlementValidity)
        {
            _licenseEntitlementValidity = licenseEntitlementValidity;
        }

        public override string Message
        {
            get { return _licenseEntitlementValidity.ToString(); }
        }
    }
}